package com.buddies.lottery.ui.wallet.bank;

import com.buddies.lottery.base.IPresenter;
import com.buddies.lottery.base.IView;
import com.buddies.lottery.data.bean.Bank;
import com.buddies.lottery.data.bean.BankResponse;
import com.buddies.lottery.data.resp.CheckWalletPwdResponse;

/**
 * Created by xuliang on 2018/2/28.
 */

public interface BankContract {

    interface View extends IView {
        void onBankLoaded(BankResponse response);
        void onUpdateBankSuccess();
        void onCheckWalletPwdSuccess(CheckWalletPwdResponse response);
    }

    interface Presenter extends IPresenter<View> {
        void loadBank();
        void postUpdateBank(String cardName, String cardNo, String cardUser, String walletPwd);
        void checkWalletPwd(String pwd);
    }

}
